package com.sqfw.project.learnRecord.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 学习录音时长表
 * @TableName LEARN_RECORD_LISTEN
 */
@TableName(value ="LEARN_RECORD_LISTEN")
@Data
public class LearnRecordListen implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 录音id
     */
    @TableField(value = "RECORD_ID")
    private Integer recordId;

    /**
     * 用户id
     */
    @TableField(value = "USER_ID")
    private BigDecimal userId;

    /**
     * 收听时长（秒）
     */
    @TableField(value = "LISTENING_DURATION")
    private Integer listeningDuration;

    /**
     * 创建人
     */
    @TableField(value = "CREATE_BY")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
